﻿<%@ Page Title="" Language="C#" MasterPageFile="../Shared/Product.Master" Inherits="System.Web.Mvc.ViewPage<NewsViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div class="classify_title">
        <%=ViewsResources.SiteMapPath.News %>
    </div>
    <div class="news_box">
        <ul>
            <% foreach (ENews item in Model.NewsList) {
            %>
            <li><span class="floatRight">
                <%= item.WriteTime.ToString("yyyy-MM-dd") %></span>
                <%= Html.ActionLink(item.Title, "info", new { newsId = item.NewsId})%></li>
            <%
               }
            %>
        </ul>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <%= HtmlMetaHelper.HtmlTitle(Model.Classify.Title, Model.Classify.KeyWords, Model.Classify.Description)%>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cssLink" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="jsLink" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="cssContent" runat="server">
    <style type="text/css">
        .news_box ul li
        {
            list-style-position: inside;
            border-bottom: 1px dotted #ccc;
            padding: 5px;
            margin: 5px;
            list-style-type: square;
        }
    </style>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="jsContent" runat="server">
</asp:Content>
